{% extends "reports/base.html" %}

{% block title %}Mgl Dev Cycles Report{% endblock %}

{% block jQuery_init %}
    $("#chantier-tabs").tabs({
        collapsible: false, active:1, 
        //event: "mouseover",
        ajaxOptions: {
            error: function( xhr, status, index, anchor ) {
                $( anchor.hash ).html( "Couldn't load this Chantier. Please contact the R&D." );
            },
        spinner: 'Retrieving data...'
        }
    });
{% endblock jQuery_init %}


{% block content %}
    <div id="chantier-tabs" style="padding:10px;">
        <ul>
            {% for chantier in chantiers %}
                <li>
                    <a href="Chantiers/{{chantier.pk}}/Components/Functionalities">{{chantier.name}}</a>
                </li>
            {% endfor %}
        </ul>
    </div>
{% endblock content %}

